<template>
  <div :class="slideClass">
    <slot></slot>
  </div>
</template>

<script>
import { Vue, Component } from "vue-property-decorator";

@Component()
export default class swiperSlide extends Vue {
  slideClass = "swiper-slide";
  mounted() {
    if (
      this.$parent &&
      this.$parent.options &&
      this.$parent.options.slideClass
    ) {
      this.slideClass = this.$parent.options.slideClass;
    }
  }
}
</script>